<?php
/**
 * 用户邀请记录模型
 * @author 王勇程 <laughskydragon@qq.com>
 */

namespace app\common\model;

use app\common\model\ModelBase;

class InviteRecord extends ModelBase
{

    
    /**
     * 字段信息
     */
    protected $schema = [
        'id' => 'int',
        'inviter_id' => 'int',
        'invitee_id' => 'int',
        'invite_code' => 'string',
        'commission_rate' => 'decimal',
        'commission_amount' => 'decimal',
        'settlement_status' => 'int',
        'status' => 'int',
        'create_time' => 'int',
        'update_time' => 'int'
    ];
}
